From 320061b18ef5a31bb7b5a8f84ae2bf2ab0d54b66 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 3 May 2007 09:33:12 +0100 Subject: [PATCH] [IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It should check for other distributions, plus a couple fallback locations. Signed-off-by: Aron Griffis --- tools/pygrub/src/pygrub | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 76eb313c30..22b2707c5c 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -361,7 +361,12 @@ class Grub: if platform.machine() == 'ia64': self.cf = grub.LiloConf.LiloConfigFile() - file_list = ("/efi/redhat/elilo.conf",) + # common distributions + file_list = ("/efi/debian/elilo.conf", "/efi/gentoo/elilo.conf", + "/efi/redflag/elilo.conf", "/efi/redhat/elilo.conf", + "/efi/SuSE/elilo.conf",) + # fallbacks + file_list += ("/efi/boot/elilo.conf", "/elilo.conf",) else: self.cf = grub.GrubConf.GrubConfigFile() file_list = ("/boot/grub/menu.lst", "/boot/grub/grub.conf", -- 2.30.2